const Sub = require('egg').Subscription;

 var a = 0;

class upDate extends Sub{
  static get schedule(){
      return{
          interval:'5s',
          type:'all',
      };

  }

    
  async subscribe(){
    //   a ++;
    //   console.log('进行第'+ a +'次定时任务');
      
      
  }




}







module.exports = upDate;
